package wf.dto.geocon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.Serializable;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.Transient;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frageo.pbgeocap",
            query = "select * from frageo.tbgeocap where id_geocon = :p_co_geocon",
            resultClass = GeocapDto.class)
})
public class GeocapDto implements Serializable {

    @Column(name = "no_geocap")
    private String no_geocap;
    @EmbeddedId
    private GeocapDtoID id;
    @Transient
    private List l_capVal;

    public GeocapDtoID getId() {
        return id;
    }

    public void setId(GeocapDtoID id) {
        this.id = id;
    }

    public String getNo_geocap() {
        return no_geocap;
    }

    public void setNo_geocap(String no_geocap) {
        this.no_geocap = no_geocap;
    }

    public List getL_capVal() {
        return l_capVal;
    }

    public void setL_capVal(List l_capVal) {
        this.l_capVal = l_capVal;
    }
}
